package com.lekang.domain;

import com.lekang.common.core.domain.entity.SysUser;
import com.lekang.le.domain.NursingItemPlanBinding;
import com.lekang.le.domain.NusingPlan;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lekang.common.annotation.Excel;
import com.lekang.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Arrays;

/**
 * 护理计划对象 nursing_plan
 * 
 * @author ruoyi
 * @date 2025-10-13
 */
public class NursingPlan_yyh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String planName;
    private NursingItemPlanBinding[] nursingItems;

    public NursingItemPlanBinding[] getNursingItems() {
        return nursingItems;
    }

    public void setNursingItems(NursingItemPlanBinding[] nursingItems) {
        this.nursingItems = nursingItems;
    }

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;
    private SysUser sysUser;

    /** 状态(0:禁用 1:启用) */
    @Excel(name = "状态(0:禁用 1:启用)")
    private Long status;

    /** 逻辑删除 */
    private Long isDeleted;

    /** 额外字段1 */
    private BigDecimal price;

    /** 额外字段2 */
    private String extraField2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }

    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    public BigDecimal getPrice() {
        return price;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setExtraField2(String extraField2)
    {
        this.extraField2 = extraField2;
    }

    public String getExtraField2() 
    {
        return extraField2;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    @Override
    public String toString() {
        return "NursingPlan_yyh{" +
                "id=" + id +
                ", planName='" + planName + '\'' +
                ", nursingItems=" + Arrays.toString(nursingItems) +
                ", creator=" + creator +
                ", sysUser=" + sysUser +
                ", status=" + status +
                ", isDeleted=" + isDeleted +
                ", price=" + price +
                ", extraField2='" + extraField2 + '\'' +
                '}';
    }
}
